package com.chinasoft.mall.widget.dialog;

import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.drawable.AnimationDrawable;
import android.view.Gravity;
import android.widget.ImageView;
import android.widget.TextView;

import com.chinasoft.mall.R;

public class ShowProgressDialog extends ProgressDialog{

	private Context context = null;
	private static ShowProgressDialog customProgressDialog = null;
	public ShowProgressDialog(Context context,String msg) {
		super(context);
		// //设置风格为圆形
		 setProgressStyle(R.style.CustomProgressDialog);
		 setTitle(null);
		 setIcon(null);
		 // 设置提示信息
		 setMessage(msg);
		// // 设置是否可以通过返回键取消
		 setCancelable(false);
		 setIndeterminate(false);
		this.context = context;
		
	}
	
}

